import type { FormRules } from 'naive-ui'

export const createRules = (): FormRules => {
  return {
    systemFlag: [
      {
        required: true,
        message: '配置类型不能为空',
        trigger: 'blur',
      },
    ],
    dictType: [
      {
        required: true,
        message: '类型不能为空',
        trigger: 'blur',
      },
    ],
  }
}
